import Vue from 'vue'

import App from './App.vue'
import router from './router'
import store from './store'

import VueMaterial from 'vue-material'
import 'vue-material/dist/vue-material.css'

import mixins from './mixins/index'

import ajax from './utils/ajax'
import http from './utils/http'


Vue.mixin(mixins);

Vue.use(VueMaterial);
Vue.use(ajax);
Vue.use(http);

if (!process.env.IS_WEB)
    Vue.use(require('vue-electron'));

Vue.config.productionTip = false;

/* eslint-disable no-new */
new Vue({
    components: {App},
    router,
    store,
    template: '<App/>'
}).$mount('#app');
